Skip to content

Add context parameter to the callbacks #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 277 commits into from

Conversation

hampusborgos
Copy link

@hampusborgos hampusborgos commented Jan 28, 2021

I found your pull request here: ferdikoomen#434 very useful

However, I feel the missing feature still, is being able to pass some context about the request to the callback. This simple adds this as an optional parameter, so you can pass ie. current user ID down to the callback function to modify headers etc.

I did not manage to get the snapshot generation to work locally unfortunately, could you run it?

Regards,
Hampus Borgos

raman-savitski-exadel and others added 30 commits November 27, 2020 19:20
…d_yarn/typescript-4.1.2

Bump typescript from 4.0.5 to 4.1.2
Backquote/backtick symbol (`) is not escaped correctly
…d_yarn/typescript-eslint/eslint-plugin-4.8.2
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 10.0.0 to 11.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](rollup/plugins@node-resolve-v10.0.0...commonjs-v11.0.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
ferdikoomen and others added 27 commits February 18, 2021 23:21
Bumps [form-data](https://github.com/form-data/form-data) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Commits](form-data/form-data@v3.0.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.1.1 to 11.2.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](rollup/plugins@node-resolve-v11.1.1...node-resolve-v11.2.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
…d_yarn/rollup/plugin-node-resolve-11.2.0
…d_yarn/typescript-eslint/eslint-plugin-4.15.1
@hampusborgos
Copy link
Author

@richgoldmd I merged upstream master, and now generation works. So you can merge this and all should be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants